package router

import (
	"github.com/gin-gonic/gin"
	"week2/internal/api"
)

func UserRouter(c *gin.RouterGroup) {
	user := c.Group("/user")
	{
		user.POST("/register", api.Register)
		user.POST("/Send", api.Send)
		user.POST("/login", api.Login)
	}
}
